<?php
require("../../inc/header.php");

/*
		SoftName : EmpireBak Version 2010
		Author   : wm_chief
		Copyright: Powered by www.phome.net
*/

DoSetDbChar('utf8');
E_D("DROP TABLE IF EXISTS `ecs_attribute`;");
E_C("CREATE TABLE `ecs_attribute` (
  `attr_id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
  `cat_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  `attr_name` varchar(60) NOT NULL DEFAULT '',
  `attr_input_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `attr_type` tinyint(1) unsigned NOT NULL DEFAULT '1',
  `attr_values` text NOT NULL,
  `attr_index` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `sort_order` tinyint(3) unsigned NOT NULL DEFAULT '0',
  `is_linked` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `attr_group` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `is_show_img` tinyint(1) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`attr_id`),
  KEY `cat_id` (`cat_id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8");
E_D("replace into `ecs_attribute` values('1','1','款型','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('2','1','样式','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('3','1','裙长','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('4','1','风格','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('6','1','颜色','0','1','','0','0','0','0','1');");
E_D("replace into `ecs_attribute` values('9','1','复选','0','2','','0','5','0','0','0');");
E_D("replace into `ecs_attribute` values('8','1','尺码','0','1','','0','3','0','0','0');");
E_D("replace into `ecs_attribute` values('10','2','人群','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('11','2','风格','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('12','2','季节','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('13','2','厚度','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('14','2','口袋','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('15','2','版型','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('16','2','袖长','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('17','2','袖型','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('18','2','领型','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('19','2','衣长','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('20','2','花色','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('21','2','面料','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('22','2','颜色','0','1','','0','0','0','0','1');");
E_D("replace into `ecs_attribute` values('23','2','尺码','0','1','','0','5','0','0','0');");
E_D("replace into `ecs_attribute` values('24','3','商品名称','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('25','3','品牌','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('26','3','功效','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('27','3','产品容量','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('28','3','生产地区','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('29','3','适用人群','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('30','3','保质期限','0','0','','0','0','0','0','0');");
E_D("replace into `ecs_attribute` values('31','3','特别说明','0','0','','0','0','0','0','0');");

require("../../inc/footer.php");
?>